New in Chrome 113

您所在的位置:网站首页 谷歌chrome beta New in Chrome 113

New in Chrome 113

2023-05-09 12:02| 来源: 网络整理| 查看: 265

New in Chrome 113

Published on Wednesday, May 3, 2023

Adriana Jara Adriana Jara

Adriana is a developer relations engineer

Twitter GitHubTable of contents WebGPU is here.Devtools response headers override.First-Party Sets is rolling out.And more!Further readingSubscribe

Here's what you need to know:

WebGPU is here, it allows high-performance 3D graphics and data-parallel computation on the web.Devtools can now override network response headers.First Party Sets, part of the Privacy Sandbox, that allows organizations to declare related sites is starting to roll out.And there's plenty more.

I'm Adriana Jara. Let's dive in and see what's new for developers in Chrome 113.

# WebGPU is here.

WebGPU is a new API for the web, which exposes modern hardware capabilities and allows rendering and computation operations on a GPU, similar to Direct3D 12, Metal, and Vulkan.

Unlike the WebGL family of APIs, WebGPU offers access to more advanced GPU features and provides first-class support for general computations on the GPU.

The API is designed with the web platform in mind. It features: An idiomatic JavaScript API. Integration with promises. Support for importing videos. A polished developer experience with great error messages.

Many widely used WebGL libraries are already working on implementing WebGPU support or have already done so. This means that using WebGPU may only require making a single line change, for example:

Babylon.js: Has full WebGPU support already.PlayCanvas: Has announced initial WebGPU support.TensorFlow.js: Supports WebGPU-optimized versions of most operators.Three.js: WebGPU support is under development.

Check out WebGPU's documentation on MDN for all the details.

# Devtools response headers override.

In DevTools you can now override response headers in the Network panel.

Previously, you needed access to the web server to experiment with HTTP response headers.

With response header overrides, you can locally prototype fixes for various headers, including but not limited to:

Cross-Origin Resource Sharing (CORS) HeadersPermissions-Policy HeadersCross-Origin Isolation Headers

To override a header, navigate to Network > Headers > Response Headers, hover over a header's value, click Edit and edit it.

CORS error fixed by a header override.

You can also add a new header:

Adding a custom header.

And edit all overrides in a single place.

Editing all overrides.

Check out this article for instructions on how to use this feature and other updates in DevTools

# First-Party Sets is rolling out.

First-Party Sets (FPS) is starting to roll out to stable. First Party Sets is part of the Privacy Sandbox. It is a way for organizations to declare relationships among sites, so that browsers allow limited third-party cookie access for specific purposes.

Diagram showing brandx.com, fly-brandx.com and drive-brandx.com as one group and example.com, example.rs, example.co.uk as another group.

As part of the work on First-Party Sets, Chrome is implementing and extending the Storage Access API allowing a site to request access to their cookies in a third-party context. With it, organizations with related sites (for example, using different domain names, or country-specific domains) can still provide services like single sign-on or shared sessions. Remember! This API will be rolled out slowly to users over a number of weeks to enable testing and evaluation.

# And more!

Of course there's plenty more.

The unprefixed image-set type is now available so authors don't need to use -webkit-image-set and it is up to date to the current spec.The overflow-inline and overflow-block media features are now supported.There is an origin trial for WebGPU WebCodecs integration.# Further reading

This covers only some key highlights. Check the links below for additional changes in Chrome 113.

What's new in Chrome DevTools (113)Chrome 113 deprecations and removalsChromeStatus.com updates for Chrome 113Chromium source repository change listChrome release calendar# Subscribe

To stay up to date, subscribe to the Chrome Developers YouTube channel, and you'll get an email notification whenever we launch a new video.

I'm Adriana Jara, and as soon as Chrome 114 is released, I'll be right here to tell you what's new in Chrome!

New in Chrome Chrome 113

Published on Wednesday, May 3, 2023 • Improve article



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3